﻿@page
@using WXWorkSvc.Common.Extensions;
@using WXWorkSvc.Third
@inject WXWork3rd wx
@model WXWorkSvc.Third.Pages.Account.CallbackModel

<h4>@Model.Msg</h4>
@if (Model.Items != null)
{
    
    <hr />
    <b>管理员：</b>
    @foreach (var item in Model.Items)
    {
        <ww-open-data type="userName" openid="@item"></ww-open-data>
    }


    @section scripts
    {
    @Html.Raw(await wx.GetAgentJsConfigAsync(Request,TempData.Peek("CorpId")!.ToString()!)) 
    }
}

    <div>OpenId:@ViewBag.OpenId</div>